package builder.v1;

/**
 * Created by Administrator on 2022/9/29.
 * 建造这模式中的具体建造者ConcreteBuilder
 */
public class HighBuildingBuilder extends HouseBuilder {
    HighBuildingBuilder() {
        super.house = new HighBuilding();
    }

    @Override
    public void buildBase() {
        house.setBase(50);
    }

    @Override
    public void buildWall() {
        house.setWall(30);

    }

    @Override
    public void buildRoof() {
        house.setRoof(50);
    }



}
